Web Crawler Practice :: Captcha Recognition¶

Dr. Chan, Chun-Hsiang
Department of Geography, National Taiwan Normal University

In [1]:
# import packges
import pytesseract
from PIL import Image
In [2]:
# open images
image = Image.open('captcha2.png')

# solve digital information from the images
result = pytesseract.image_to_string(image)

# print the solved results
print(result)
M8k2

In [ ]: